﻿<Window x:Class="Jbe.TestSuite.TestDevices.FunctionGenerator.ControlView.Presentation.ConfigurationEditWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cae="http://www.codeplex.com/CompositeExtensions"
    xmlns:i="http://www.codeplex.com/CompositeExtensions/TestSuite/Interface"
    xmlns:v="clr-namespace:Jbe.TestSuite.TestDevices.FunctionGenerator.ControlView.Presentation"
    xmlns:p="clr-namespace:Jbe.TestSuite.TestDevices.FunctionGenerator.ControlView.Properties"
    Title="{Binding Title}"
    Width="Auto" Height="Auto" SizeToContent="WidthAndHeight"
    cae:ResourceService.MergeSharedDictionaries="{x:Static i:ResourceHelper.SharedResourcePath}">
	
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
			<RowDefinition Height="11"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="11"/>
        </Grid.ColumnDefinitions>
        
        <Label Content="{x:Static p:Resources.Configuration}" Grid.Row="0" Grid.Column="0" Style="{StaticResource Label.Header}"/>
        
        <v:ConfigurationView x:Name="configurationView" Grid.Row="1" Grid.Column="0"/>
        
        <Separator Grid.Row="2" Grid.Column="0"/>
        
        <StackPanel Grid.Row="3" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Content="{x:Static p:Resources.OK}" Command="{Binding AcceptCommand}"/>
            <Button Content="{x:Static p:Resources.Cancel}" Command="{Binding CancelCommand}"/>
        </StackPanel>
    </Grid>
</Window>
